//+build wireinject

package user

import (
	"github.com/google/wire"
	"week4/app/user/internal/biz"
	"week4/app/user/internal/data"
	"week4/app/user/internal/server"
	"week4/app/user/internal/service"
)

func InitService() (*server.GRPCServer, error) {
	panic(wire.Build(data.ProviderSet, biz.ProviderSet, service.ProviderSet, server.ProviderSet))
}

//func initService() (*service.UserService, error) {
//	panic(wire.Build(data.ProviderSet, biz.ProviderSet, service.ProviderSet))
//}
